<extend name="Home@Base/common" />
<block name="body">
    <div class="span9 page_message">
        <section id="contents"> <include file="Home@Addons/_nav" />
            <div class="tab-content">
                <php> $post_url || $post_url = U('add?model='.$model['id'], $get_param);</php>
                <form class="form-horizontal form-center" method="post" action="{$post_url}" id="form">
                    <div class="form-item cf">
                        <label class="item-label"><span class="need_flag">*</span>职务名称<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="text" class="text input-medium" name="name" value="{$data.name}">
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"><span class="need_flag">*</span>职务编号<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="text" class="text input-medium" name="duty_no" value="{$data.duty_no}">
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"><span class="need_flag">*</span>职务等级<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="number" class="text input-medium" name="level" value="{$data.level}">
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">备注<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="remark" value="{$data.remark}">
                        </div>
                    </div>

                    <div class="form-item form_bh">
                        <input type="hidden" name="id" value="{$data.id}">
                        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
                    </div>
                </form>
            </div>
        </section>
    </div>
</block>
